Skip to content

Capture exceptions to Sentry instead of printing#55

Closed
sethmlarson wants to merge 1 commit into
mainfrom
sentry-errors
Closed

Capture exceptions to Sentry instead of printing#55
sethmlarson wants to merge 1 commit into
mainfrom
sentry-errors

Conversation

@sethmlarson

Copy link
Copy Markdown
Collaborator

Instead of printing errors to the public log we capture them into Sentry instead.

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seth, can we please create branches on our forks rather than the public repository?

Comment thread src/psrt_ghsa_bot/app.py
return
raise
# Capture the original exception in Sentry (private)
# and emit a sanitized public exception.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

        # and emit a sanitized public exception.

I think you forgot that bit ;-)

@sethmlarson

Copy link
Copy Markdown
Collaborator Author

@StanFromIreland Yes I need to switch over now that we're public, thanks for the reminder.

@sethmlarson sethmlarson deleted the sentry-errors branch June 24, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants